<div class="leftbar">
    <ul>
        <?php
            echo '<li>'.$html->link('Miljö- och klimatarbete', 'kommun/show/'.$readMuniPage['muni_name']).'</li>';
            echo '<li>'.$html->link('Naturskyddsföreningen', 'kommun/show/'.$readMuniPage['muni_name'].'/naturskyddsforeningen').'</li>';
            echo '<li>'.$html->link('Fältbiologerna', 'kommun/show/'.$readMuniPage['muni_name'].'/faltbiologerna').'</li>';
            echo '<li>'.$html->link('Sopstationer', 'kommun/show/'.$readMuniPage['muni_name'].'/sopstationer').'</li>';
            echo '<li>'.$html->link('Klimat & Energirådgivning', 'kommun/show/'.$readMuniPage['muni_name'].'/radgivning').'</li>';
            echo '<li>'.$html->link('Länkar', 'kommun/show/'.$readMuniPage['muni_name'].'/lankar').'</li>';
            echo '<li>'.$html->link('Kontakt', 'kommun/show/'.$readMuniPage['muni_name'].'/kontakt').'</li>';
            echo '<li>'.$html->link('Nyheter', 'kommun/news/'.$readMuniPage['muni_name']).'</li>';

            ?>
    </ul>
</div>

<h1><?php echo $readMuniPage['muni_name']; ?></h1>

<p>

    <?php
        if($page=="naturskyddsforeningen"){
            if($readMuniPage['nature_assoc']){
                echo nl2br($readMuniPage['nature_assoc']);
            }
            else{
                echo 'didnt find any nature assoc';
            }
        }
        elseif($page=="faltbiologerna"){
            if($readMuniPage['field_biologist']){
                echo nl2br($readMuniPage['field_biologist']);
            }
            else{
                echo 'didnt find any field_biologist data';
            }
        }
        elseif($page=="sopstationer"){
            if($readMuniPage['dumps']){
                echo nl2br($readMuniPage['dumps']);
            }
            else{
                echo 'didnt find any dumps data';
            }
        }
        elseif($page=="radgivning"){
            if($readMuniPage['env_advice']){
                echo nl2br($readMuniPage['env_advice']);
            }
            else{
                echo 'didnt find any env_advice data';
            }
        }
        elseif($page=="kontakt"){
            if($readMuniPage['contact']){
                echo nl2br($readMuniPage['contact']);
            }
            else{
                echo 'didnt find any contact data';
            }
        }
        else{
            // Check if municipality page has env_work content, otherwise ??
            if($readMuniPage['env_work']){
                echo nl2br($readMuniPage['env_work']);
            }
            else {
                echo 'didnt find any env_work'; // bort sen.
            }
        }

        echo '<br/><br/>';
        echo $html->link('< Tillbaka till listan över '.$readMuniPage['county_name'], 'kommun/listed/'.$readMuniPage['county_id']);
    ?>

<meta property="og:title" content="AddThis Tour" />
<meta property="og:description" content="Watch the AddThis Tour video." />
<meta property="og:image" content="http://i2.ytimg.com/vi/1F7DKyFt5pY/default.jpg" />
<meta property="og:video" content="http://www.youtube.com/v/1F7DKyFt5pY&fs=1" />
<meta property="og:video:width" content="560" />
<meta property="og:video:height" content="340" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
   <!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4d710f3f761bc748"></script>
<!-- AddThis Button END -->
</p>
